package com.websocket.exception;

import java.io.IOException;
import java.security.Principal;

public class PrincipalNotFoundException extends IOException {

    public PrincipalNotFoundException(Principal principal) {
        super("could not find '" + principal.getName() + "' user with username in the websocket connection pool");
    }
}
